<script language="JavaScript">
//<!--
function f_sel_comp() {
	var where_sql = "dept_key_id like ?";
	var where_value = (document.all("jp_out_store.dept_key_id").value).substr(0, 4)+"%";
	var where_type = "string";
	
	var contextPath = document.all("contextPath").value;
	var aHref = contextPath + "/layout/commontree.jsp?funcid=jp_base_comp&where_sql=" + 
		where_sql + "&where_value=" + where_value + "&where_type=" + where_type;
	gc_util.openWin(aHref, 600, 400, 'model');
}

function f_initOther() {
	var btns = document.getElementsByName("jp_out_store.device_code_btn");
	//alert(btns);
	if (btns.length > 0) { 
		//alert(btns[0].click);
	}
}

//-->
</script>
